//
//  UINavigationItem+CustomBarButtonItem.h
//  WZEfengAndEtong
//
//  Created by wanzhao on 16/1/14.
//  Copyright © 2016年 wanzhao. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UINavigationItem (CustomBarButtonItem)

- (void)setNewAttributeTitleCenter:(NSString *)title  str2:(NSString *)str2 andMessageSettingType:(BOOL)type;

- (UIButton *)setNewTitleWithList:(NSString *)title;
- (void)setNewTitle:(NSString *)title;
- (void)setNewTitleCenter:(NSString *)title ;
- (void)setNewTitleCenter:(NSString *)title andMessageSettingType:(BOOL)type;
- (void)setNewTitleWithActivity:(NSString *)title;
- (void)setNewTitleImage:(UIImage *)image;

//- (void)setLeftItemWithTarget:(id)target action:(SEL)action title:(NSString *)title;

//- (void)setLeftItemWithTarget:(id)target action:(SEL)action image:(NSString *)image;

//- (void)setLeftItemWithTarget:(id)target action:(SEL)action image:(NSString *)image selectedImageName:(NSString*)imageName text:(NSString*)text  disabled:(NSString*)disableImage;


//- (void)setRightItemWithTarget:(id)target action:(SEL)action title:(NSString *)title;

//- (void)setRightItemWithTarget:(id)target action:(SEL)action image:(NSString *)image;
//
//- (void)setRightItemWithTarget:(id)target action:(SEL)action image:(NSString *)image selectedImageName:(NSString*)imageName text:(NSString*)text
//;
//
//-(void)setRightItemNil;
//
//- (void)setRightItemWithTarget:(id)target
//                        action:(SEL)action
//                         title:(NSString *)title font:(UIFont*)font;


@end
